package cn.rkylin.oms.warehouseDocking.service;

import cn.rkylin.oms.warehouseDocking.dao.IStockoutDAO;
import cn.rkylin.oms.warehouseDocking.domain.Stockout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * stockout服务层
 * 
 * @author fengwang
 * @created 2017年10月24日
 */
@Service("stockoutService")
public class StockoutService {

    @Autowired
    IStockoutDAO iStockoutDAO;

    public int updateByPrimaryKeySelectiveStockout(Stockout stockout) throws Exception {
        int iRtn = iStockoutDAO.updateByPrimaryKeySelectiveStockout(stockout);
        return iRtn;
    }
}
